package cn.tedu.shoot;

import java.io.Serializable;
import java.util.Arrays;

public class SaveInfo implements Serializable {
    public static final long serialVersionUID = 1L;
    private int set;                    //生成敌机次数
    int set1 ;                           //生成子弹计数
    int set1_1 ;                        //生成强化子弹计数


    Sky sky = new Sky();                    //天空
    Hero hero = new Hero();                 //英雄机
    FlyingObject[] flyingObject = {};       //敌机数组
    Bullet[] bullet_1 = {};                 //子弹数组
    Bullet[] bullet_2 = {};                 //子弹数组
    Bullet[] bullet_3 = {};                 //子弹数组

    public SaveInfo(int set, int set1, int set1_1,
                    Sky sky, Hero hero, FlyingObject[] flyingObject,
                    Bullet[] bullet_1, Bullet[] bullet_2, Bullet[]
                            bullet_3) {
        this.set = set;
        this.set1 = set1;
        this.set1_1 = set1_1;
        this.sky = sky;
        this.hero = hero;
        this.flyingObject = flyingObject;
        this.bullet_1 = bullet_1;
        this.bullet_2 = bullet_2;
        this.bullet_3 = bullet_3;
    }

    public SaveInfo(){
    }

    @Override
    public String toString() {
        return "SaveInfo{" +
                "set=" + set +
                ", set1=" + set1 +
                ", set1_1=" + set1_1 +
                ", sky=" + sky +
                ", hero=" + hero +
                ", flyingObject=" + Arrays.toString(flyingObject) +
                ", bullet_1=" + Arrays.toString(bullet_1) +
                ", bullet_2=" + Arrays.toString(bullet_2) +
                ", bullet_3=" + Arrays.toString(bullet_3) +
                '}';
    }

    public int getSet() {
        return set;
    }

    public void setSet(int set) {
        this.set = set;
    }

    public int getSet1() {
        return set1;
    }

    public void setSet1(int set1) {
        this.set1 = set1;
    }

    public int getSet1_1() {
        return set1_1;
    }

    public void setSet1_1(int set1_1) {
        this.set1_1 = set1_1;
    }





    public Sky getSky() {
        return sky;
    }

    public void setSky(Sky sky) {
        this.sky = sky;
    }

    public Hero getHero() {
        return hero;
    }

    public void setHero(Hero hero) {
        this.hero = hero;
    }

    public FlyingObject[] getFlyingObject() {
        return flyingObject;
    }

    public void setFlyingObject(FlyingObject[] flyingObject) {
        this.flyingObject = flyingObject;
    }

    public Bullet[] getBullet_1() {
        return bullet_1;
    }

    public void setBullet_1(Bullet[] bullet_1) {
        this.bullet_1 = bullet_1;
    }

    public Bullet[] getBullet_2() {
        return bullet_2;
    }

    public void setBullet_2(Bullet[] bullet_2) {
        this.bullet_2 = bullet_2;
    }

    public Bullet[] getBullet_3() {
        return bullet_3;
    }

    public void setBullet_3(Bullet[] bullet_3) {
        this.bullet_3 = bullet_3;
    }
}
